package com.yal.service.impl;

import com.yal.dao.OrderDao;
import com.yal.domian.Order;
import com.yal.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    OrderDao orderDao;

    @Override
    public void insertOrder(Order order) {
       orderDao.save(order);
    }
}
